home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.mactech.com 2010
/
ftp.mactech.com.tar
/
ftp.mactech.com
/
machack
/
Hacks97
/
WarriorsProgress.sit
/
Warrior’s Progress
/
source code
/
Source
/
Libraries
/
Idle
/
DelayedMethod.h
< prev
next >
Wrap
Text File
|
1997-06-28
|
452b
|
28 lines
// DelayedMethod.h
#ifndef DelayedMethod_h
#define DelayedMethod_h
#ifndef MethodOf_h
#include "MethodOf.h"
#endif
#ifndef Delayer_h
#include "Delayer.h"
#endif
template < class Target >
class DelayedMethod: public MethodOf< Target >,
public Delayer
{
private:
::Method& TheMethod() { return *this; }
public:
DelayedMethod( Target *t, MemberType m )
: MethodOf<Target>( t, m ),
Delayer( TheMethod() )
{}
};
#endif